{* include file="tpl_defaults/header.html" *}

    <div id="main">
        
        <!-- 面包屑导航 -->
        <div id="bread" class="box list sky-blue">
            <span class="left">
                <a href="{*$app_bbs_url*}">爱居社区</a>
				<!--
                <img src="/images/divider.gif" />
                <a href="#">动物贴吧</a>
				-->
                <img src="/images/divider.gif" />
                主题操作
            </span>

        </div>
<form method="post" name="form1" action="?action=do&act={*$act*}">
	
        <div class="list">
            <h1 class="block_sub">管理选项</h1>
            <div class="admin_table mainbox">
                <table>
                    <tbody>
					    {*if $act eq 'limit'*}
                        <tr>
                            <th>禁言对象：</th>
                            <td colspan="2">
                                {*$ouser->username*}
                            </td>
                        </tr>
                        <tr>
                            <th>禁言范围：</th>
                            <td colspan="2">
                                <input type="radio" name="limittype" value="{*$fid*}" checked/>
                                <span class="red">本版块</span>
                                <input type="radio" name="limittype" value="0"/>
                                所有板块
                                <input type="radio" name="limittype" value="IP"/>
                                禁止该IP
                            </td>
                        </tr>
                        <tr>
                            <th>禁言时间：</th>
                            <td colspan="2">
                                <input type="text" name="limittime" size=8 value="{*$sdate*}">天 (如果为0，则为永久禁言;20080808代表2008年8月8日)
                            </td>
                        </tr>
						{*/if*}
                        <tr>
                            <th>消息通知：</th>
                            <td colspan="2">
                                <input type="radio" name="msg" value="1"/>
                                是
                                <input type="radio" name="msg" value="0" checked/>
                                否
                            </td>
                        </tr>
                        <tr>
                            <th>操作理由：</th>
                            <td width="200px">
<textarea rows="5" style="height:100px; width:200px; overflow-y:auto;" name="info" id="info"></textarea>
</td><td align="left">
<select name="selects" onChange="chk()" MULTIPLE SIZE="6">
	<option value="">自定义</option>
	<option value="">------</option>
	{* foreach from=$BBSDeleteReason  key = key item=item *}
	<option value="{*$item*}">{*$item*}</option>
	{*/foreach*}
	<option value="">------</option>
	{* foreach from=$BBSPithReason  key = key item=item *}
	<option value="{*$item*}">{*$item*}</option>
	{*/foreach*}
</select>
<script>
function chk()
{
	imgs=document.form1.selects.value;
	if(imgs)
		document.form1.info.value=imgs;
	else
		document.form1.info.value="";
}
</script>
                            </td>
                        </tr>
                    </tbody>
                    <tbody>
                        <tr class="sky-blue2">
                            <th></th>
                            <td colspan="2">
                                <input class="submit" type="submit" value="确认提交"/>
                                <a href="list.php?fid={*$fid*}&act=moder">返回前页</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
		<input type="hidden" name="fid" value="{*$fid*}">

		<input type="hidden" name="tid" value="{*$tid*}">
		<input type="hidden" name="userid" value="{*$ouser->userid*}">

</form>

        <!-- 版块分类 -->
        <div class="legend list">
            <label><img src="/images/thread/topicnew.gif" />新主题</label>
            <label><img src="/images/thread/topichot.gif" />热门主题</label>
            <label><img src="/images/thread/topiclock.gif" />锁定主题</label>
            <label><img src="/images/thread/vote.gif" />投票主题</label>
            <label><img src="/images/thread/trade.gif" />交易主题</label>
        </div>
    </div>
{* include file="tpl_defaults/footer.html" *}
